<div style="overflow: auto;" id="ModalView">
          <?php $form=$this->beginWidget('ActiveForm', array(
					'id'=>'comment-form',
          			'onlyScript'=>true,
          			'enableClientValidation'=>true,
					'enableAjaxValidation'=>false,
          			//'focus'=>array($comment,'name')
			)); ?>
  <div id="modalContainer">
    <div style="overflow: auto;" class="MyListConfigView ModalConfigEditView EditView DetailsView ModelView ConfigurableMetadataView MetadataView">
      <div class="wide form">
        你正在为段落Id：<?php echo $sectionId;?> 进行评论
        <table>
          <colgroup>
          <col style="width:20%">
          <col style="width:80%">
          </colgroup>
          <tbody>
            <tr>
              <th><?php echo $form->labelEx($comment,'name'); ?></th>
              <td colspan="1"><?php echo $form->textField($comment,'name'); ?>
              <?php echo $form->error($comment,'name'); ?></div></td>
            </tr>
            <tr>
              <th><?php echo $form->labelEx($comment,'email'); ?></th>
              <td colspan="1"><?php echo $form->textField($comment,'email'); ?>
              <?php echo $form->error($comment,'email'); ?></div>
              </td>
            </tr>
            <tr>
              <th><?php echo $form->labelEx($comment,'website'); ?></th>
              <td colspan="1"><?php echo $form->textField($comment,'website'); ?>
              <?php echo $form->error($comment,'website'); ?></div>
              </td>
            </tr>
            <tr>
              <th><?php echo $form->labelEx($comment,'comment'); ?></th>
              <td colspan="1"><?php echo $form->textArea($comment,'comment', array('rows'=>5, 'cols'=>50)); ?>
              <?php echo $form->error($comment,'comment'); ?></div>
              </td>
            </tr>
          </tbody>
        </table>
        <div class="modal-view-toolbar">
       	  <?php echo CHtml::ajaxSubmitButton('发布', array('id'=>'reply'), array('success'=>'js:function(html){ if (html=="ok") {location.reload();}  }')); ?>
        </div>
        </form>
      </div>
    </div>
  </div>
  <?php $this->endWidget(); ?>
</div>